package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统首页导航对象 sys_home_navigation
 *
 * @author ruoyi
 * @date 2020-07-15
 */
public class SysHomeNavigation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 所在页面
     */
    @Excel(name = "所在页面")
    private String pageon;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String photopath;

    /**
     * 链接类型
     */
    @Excel(name = "链接类型")
    private String urltype;

    /**
     * 链接
     */
    @Excel(name = "链接")
    private String url;

    /**
     * 排序id
     */
    @Excel(name = "排序id")
    private String sortid;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPageon(String pageon) {
        this.pageon = pageon;
    }

    public String getPageon() {
        return pageon;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPhotopath(String photopath) {
        this.photopath = photopath;
    }

    public String getPhotopath() {
        return photopath;
    }

    public void setUrltype(String urltype) {
        this.urltype = urltype;
    }

    public String getUrltype() {
        return urltype;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setSortid(String sortid) {
        this.sortid = sortid;
    }

    public String getSortid() {
        return sortid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pageon", getPageon())
                .append("name", getName())
                .append("photopath", getPhotopath())
                .append("urltype", getUrltype())
                .append("url", getUrl())
                .append("sortid", getSortid())
                .toString();
    }
}
